import axios from "@/config/api.js";

let api = {};

api.listOwnMsg = (param = {})=>{
	return axios.post("/api/member/msg/listOwnMsg",param);
}

api.countOwnUnReadMsg = ()=>{
	return axios.post("/api/member/msg/countOwnUnReadMsg");
}

api.doReadMsg = (id)=>{
	return axios.post(`/api/member/msg/doReadMsg/${id}`);
}

export default api;